<html data-dpr="1" style="font-size: 37.5px;">
 <head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1" />
  <meta id="i18n_pagename" content="user-common">
  <title>{:C('sitename')}</title>
  <link href="/ascss/1.css" rel="stylesheet" />
  <link href="/ascss/mui/css/mui.min.css" rel="stylesheet" />
  <link href="/ascss/ek.css" rel="stylesheet" />
  <link href="/ascss/user.css" rel="stylesheet" />
  <style type="text/css" title="fading circle style">
  	.circle-color-25 > div::before { background-color: #ccc; }
  	.headerContent {border-left:0;padding-left: 5px;margin-top: 13px;}
  </style>
   <script>
    (function (win, lib) {
      var doc = win.document
      var docEl = doc.documentElement
      var metaEl = doc.querySelector('meta[name="viewport"]')
      var flexibleEl = doc.querySelector('meta[name="flexible"]')
      var dpr = 0
      var scale = 0
      var tid
      var flexible = lib.flexible || (lib.flexible = {})
 
      if (metaEl) {
        console.warn('将根据已有的meta标签来设置缩放比例')
        var match = metaEl.getAttribute('content').match(/initial\-scale=([\d\.]+)/)
        if (match) {
          scale = parseFloat(match[1])
          dpr = parseInt(1 / scale)
        }
      } else if (flexibleEl) {
        var content = flexibleEl.getAttribute('content')
        if (content) {
          var initialDpr = content.match(/initial\-dpr=([\d\.]+)/)
          var maximumDpr = content.match(/maximum\-dpr=([\d\.]+)/)
          if (initialDpr) {
            dpr = parseFloat(initialDpr[1])
            scale = parseFloat((1 / dpr).toFixed(2))
          }
          if (maximumDpr) {
            dpr = parseFloat(maximumDpr[1])
            scale = parseFloat((1 / dpr).toFixed(2))
          }
        }
      }
 
      if (!dpr && !scale) {
        var isAndroid = win.navigator.appVersion.match(/android/gi)
        var isIPhone = win.navigator.appVersion.match(/iphone/gi)
        var devicePixelRatio = win.devicePixelRatio
//          if (isIPhone) {
//            // iOS下，对于2和3的屏，用2倍的方案，其余的用1倍方案
//            if (devicePixelRatio >= 3 && (!dpr || dpr >= 3)) {
//              dpr = 3;
//            } else if (devicePixelRatio >= 2 && (!dpr || dpr >= 2)){
//              dpr = 2;
//            } else {
//              dpr = 1;
//            }
//          } else {
//            // 其他设备下，仍旧使用1倍的方案
//            dpr = 1;
//          }
        dpr = 1
        scale = 1 / dpr
      }
 
      docEl.setAttribute('data-dpr', dpr)
      if (!metaEl) {
        metaEl = doc.createElement('meta')
        metaEl.setAttribute('name', 'viewport')
        metaEl.setAttribute('content', 'initial-scale=' + scale + ', maximum-scale=' + scale + ', minimum-scale=' + scale + ', user-scalable=no')
        if (docEl.firstElementChild) {
          docEl.firstElementChild.appendChild(metaEl)
        } else {
          var wrap = doc.createElement('div')
          wrap.appendChild(metaEl)
          doc.write(wrap.innerHTML)
        }
      }
 
      function refreshRem () {
        var width = docEl.getBoundingClientRect().width
        if (width / dpr > 540) {
          width = 540 * dpr
        }
        var rem = width / 10
        docEl.style.fontSize = rem + 'px'
        flexible.rem = win.rem = rem
      }
 
      win.addEventListener('resize', function () {
        clearTimeout(tid)
        tid = setTimeout(refreshRem, 300)
      }, false)
      win.addEventListener('pageshow', function (e) {
        if (e.persisted) {
          clearTimeout(tid)
          tid = setTimeout(refreshRem, 300)
        }
      }, false)
 
      if (doc.readyState === 'complete') {
//          doc.body.style.fontSize = 12 * dpr + 'px';
        doc.body.style.fontSize = 16 + 'px'
      } else {
        doc.addEventListener('DOMContentLoaded', function (e) {
//            doc.body.style.fontSize = 12 * dpr + 'px';
          doc.body.style.fontSize = 16 + 'px'
        }, false)
      }
 
      refreshRem()
 
      flexible.dpr = win.dpr = dpr
      flexible.refreshRem = refreshRem
      flexible.rem2px = function (d) {
        var val = parseFloat(d) * this.rem
        if (typeof d === 'string' && d.match(/rem$/)) {
          val += 'px'
        }
        return val
      }
      flexible.px2rem = function (d) {
        var val = parseFloat(d) / this.rem
        if (typeof d === 'string' && d.match(/px$/)) {
          val += 'rem'
        }
        return val
      }
 
    })(window, window['lib'] || (window['lib'] = {}))
  </script>
  <!-- 环境判断:测试、正式 -->
  <script>
    var host = window.location.host
    ;(function isFormalEnv(host){
      if(host.indexOf('kw13.cn') !== -1){
        window.isFormalEnv = true
        window.isTestEnv = false
      } else if(host.indexOf('kwmzy.com') !== -1) {
        window.isTestEnv = true
        window.isFormalEnv = false
      }
    })(host)
  </script>
  <!-- 腾讯移动统计配置 -->
  <script>
    var mtah5 = {}
    if(window.isFormalEnv){
      mtah5.sid = 500411881
      mtah5.cid = 500432840
    } else { // 本地、测试环境使用
      mtah5.sid = 500412096
      mtah5.cid = 500426037
    }
    var _mtac = {"performanceMonitor":1,"senseQuery":1};
    (function() {
      var mta = document.createElement("script");
      mta.setAttribute("name", "MTAH5");
      mta.setAttribute("sid", mtah5.sid);
      mta.setAttribute("cid", mtah5.cid);
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(mta, s);
    })();
  </script>
  <script>
    window.origin = window.location.origin
  </script>
 </head>
 <body style="font-size: 12px;">

  <div id="app">
  	<header class="mui-bar mui-bar-nav top-status"> <div class="flex-start headerContent"><img src="/images/static/menu.png" height="16"><div class="logoText" data-language="user-grzx">个人中心</div></div></header>
   <div data-v-6c73bfdf="" class="">
   	
   	<div class="mui-content">
   <div class="personal_bg"> 
    <div class="flex-start personal-box">
     <a href="javascript:;"><img class="personal-box-img" style="visibility: visible;" id="userImg" src="/ascss/img/logo.png" height="72" /></a>
     <img class="personal-box-img" style="visibility: visible; display: none;" id="userImgPlaceHolder" />
     <div> 
      <div class="personal-name" style="visibility: visible;" id="username">
       <span data-language="user-zh">账户：</span>{$user.username}
      </div> 
      <div class="personal-name" style="visibility: visible;" id="nickname">
       <span data-language="user-nc">昵称：</span>{$user.nickname}
      </div>
     </div>
     <div class="personal-login" style="display: none;" data-language="user-dl">
      登录
     </div> 
    </div> 
   </div>
   <div class="personal-box-money">
    <ul class="personal-box-ul">
     <li>
      <div data-language="user-cczh">
       持仓账户
      </div>
      <div class="personal-light" id="user-balance" style="font-size: 16px;">
       {$user.points}
      </div></li> 
     <li style="border: 0;"> 
      <div data-language="user-jryk">
       信誉分
      </div>
      <div class="personal-light" id="user-turnover" style="color: #fc5d5e;font-size: 16px;">
       {$user.point}
      </div></li>
      <!--<li style="border: 0;"> -->
      <!--<div data-language="user-jryk">-->
      <!-- 今日盈亏-->
      <!--</div>-->
      <!--<div class="personal-light" id="user-turnover" style="color: #fc5d5e;font-size: 16px;">-->
      <!-- {$user.ying}-->
      <!--</div></li>-->
    </ul>
    <ul class="personal-box-2">
     <li style="border-right:1px solid #262f53">
      <div id="recharge" class="flex-center rechargeBTN" onclick="location.href='{:U('/home/Fen/index')}'">
      <!--<div id="recharge" class="flex-center rechargeBTN" onclick="location.href='{:U('Home/Fen/addpage')}?type=pk10'">-->
       <div style="margin-right: 15px;" data-language="user-zhhbcr">
        账户货币存入
       </div>
       <img src="/ascss/img/member-pay.png" height="24" />
      </div></li>
     <li>
      <div id="withdraw" class="flex-center withdrawBTN" onclick="location.href='{:U('Home/Fen/xiaindex')}'">
      <!--<div id="withdraw" class="flex-center withdrawBTN" onclick="location.href='{:U('Home/Fen/xiapage')}?type=pk10'">-->
       <div style="margin-right: 15px;" data-language="user-zhhbqc">
        账户货币取出
       </div>
       <img src="/ascss/img/member-buy.png" height="24" />
      </div></li>
    </ul>
   </div>
   <ul class="personal-box-3">
    <li class="mui-clearfix jumpFlag "  onclick="location.href='/Home/User/xiazhu?t=1'" data-id="betRecordList.html" data-title="购买记录"><img src="/ascss/img/member-memu1.png" class="personal-box-3-img" />
     <div class="personal-box-3-text" data-language="user-jyjl">
      交易记录
     </div></li> 
    <li class="mui-clearfix jumpFlag tryPlayControlFLAG" onclick="location.href='/Home/User/fenadd'" data-id="thirdRechargeRecordList.html" data-title="存入记录"><img src="/ascss/img/member-memu2.png" class="personal-box-3-img" />
     <div class="personal-box-3-text" data-language="user-czjl">
      存入记录
     </div></li>
    <li class="mui-clearfix jumpFlag tryPlayControlFLAG" onclick="location.href='/Home/User/fenxia'" data-id="withdrawRecordList.html" data-title="取出记录"><img src="/ascss/img/member-memu3.png" class="personal-box-3-img" />
     <div class="personal-box-3-text" data-language="user-txjl">
      取出记录
     </div></li>
    <li class="mui-clearfix jumpFlag tryPlayControlFLAG" onclick="location.href='/Home/User/uppwd'" data-id="passwordManager.html" data-title="登录密码"><img src="/ascss/img/member-memu4.png" class="personal-box-3-img" />
     <div class="personal-box-3-text" data-language="user-dlmm">
      登录密码
     </div></li>
     <li class="mui-clearfix jumpFlag tryPlayControlFLAG" onclick="location.href='/Home/User/tkppwd'" data-id="passwordManager.html" data-title="取出密钥"><img src="/ascss/img/member-memu4.png" class="personal-box-3-img" />
     <div class="personal-box-3-text" data-language="user-tkmm">
      取出密钥
     </div></li>
    <li class="mui-clearfix jumpFlag tryPlayControlFLAG" onclick="location.href='/Home/User/tkInfo2'" data-id="withdrawRecordList.html" data-title="钱包管理"><img src="/ascss/img/member-memu5.png" class="personal-box-3-img" />
     <div class="personal-box-3-text" data-language="user-qbgl">
      钱包管理
     </div></li>
    <li class="mui-clearfix jumpFlag tryPlayControlFLAG" onclick="location.href='/Home/User/tkInfocard'" data-id="withdrawRecordList.html" data-title="银行卡管理"><img src="/ascss/img/member-memu5.png" class="personal-box-3-img" />
     <div class="personal-box-3-text" data-language="user-yhkgl">
      银行卡管理
     </div></li>
    <li class="mui-clearfix jumpFlag tryPlayControlFLAG" onclick="location.href='/Home/User/msglist'" data-id="withdrawRecordList.html" data-title="消息管理"><img src="/ascss/img/member-memu2.png" class="personal-box-3-img" />
     <div class="personal-box-3-text" data-language="user-xxgl">
      消息管理
     </div></li>
     <!--<li class="mui-clearfix jumpFlag tryPlayControlFLAG" onclick="location.href='{:U('Home/User/wanfa')}'" data-id="withdrawRecordList.html" data-title="玩法说明"><img src="/ascss/img/member-memu1.png" class="personal-box-3-img" />-->
     <!--<div class="personal-box-3-text" data-language="user-wfsm">-->
     <!-- 玩法说明-->
     <!--</div></li>-->
    
  
    <li class="mui-clearfix jumpFlag tryPlayControlFLAG" onmousedown="logout()" data-id="login.html" data-title="切换账号"><img src="/ascss/img/member-memu6.png" class="personal-box-3-img" />
     <div class="personal-box-3-text" data-language="user-qhzh">
      切换账号
     </div></li> 
   </ul> 
  </div>
   	
   	
   	
   	
   	
    <!--div data-v-6c73bfdf="" class="user">
    
        <li class="mui-clearfix jumpFlag tryPlayControlFLAG" onclick="location.href='/Home/User/tui.html'" data-id="withdrawRecordList.html" data-title="钱包管理"><img src="/ascss/img/member-memu5.png" class="personal-box-3-img" />
     <div class="personal-box-3-text" data-language="user-tglj">
      推广链接
     </div></li>
    
     <div data-v-6c73bfdf="" class="head">
	  <img data-v-6c73bfdf="" src="{$user.headimgurl}" class="headicon touxiang headerImg" id="icon" style="border-radius: 50%;" />
     </div> 
     <div data-v-6c73bfdf="" class="c11">
      <div data-v-6c73bfdf="" class="c12">
       <i data-v-6c73bfdf="">{$user.nickname}</i>
      </div> 
      <div data-v-6c73bfdf="" style="width: 5rem;">
       <div data-v-6c73bfdf="" class="c21">
        <div data-v-6c73bfdf="" class="c22">
         <span data-v-6c73bfdf="" class="c23"><span data-v-6c73bfdf="" id="percentWidth" class="_1h8Kk-b0" style="width: 0%;"></span></span>
        </div>
       </div>
      </div>
     </div>
    </div> 
    <div data-v-6c73bfdf="" class="card">
     <div data-v-6c73bfdf="" class="wallet">
      <div data-v-6c73bfdf="" class="price">
       <h3 data-v-6c73bfdf="">中心钱包:</h3> 
       <p data-v-6c73bfdf=""><em data-v-6c73bfdf="">￥</em> {$user.points} </p>
      </div>
     </div> 
     <div data-v-6c73bfdf="" class="nav">
      <ul data-v-6c73bfdf="">
       <li data-v-6c73bfdf="" class="" onclick="location.href='{:U('Home/Fen/addpage')}?type=pk10'"><img data-v-6c73bfdf="" src="/asimages/qianbao.png" alt="" /> <p data-v-6c73bfdf="">存款</p></li> 
       <li data-v-6c73bfdf="" class="" onclick="location.href='{:U('Home/Fen/xiapage')}?type=pk10'"><img data-v-6c73bfdf="" src="/asimages/qukuan.png" alt="" /> <p data-v-6c73bfdf="">取款</p></li> 
       <li data-v-6c73bfdf="" class="router-link-exact-active router-link-active" onclick="location.href='{:U('Home/User/zhuan')}'"><img data-v-6c73bfdf="" src="/asimages/zhuanzhang.png" alt="" /> <p data-v-6c73bfdf="">转账</p></li> 
       <li data-v-6c73bfdf="" class="" onclick="location.href='{:U('Home/User/wanfa')}'"><img data-v-6c73bfdf="" src="/asimages/wanfa.png" alt="" /> <p data-v-6c73bfdf="" style="width: 60px;">玩法说明</p></li>
      </ul>
     </div>
    </div> 
    <div data-v-6c73bfdf="" class="features">
     <div data-v-6c73bfdf="" class="title">
      我的功能
     </div> 
     <ul data-v-6c73bfdf="">
      <li data-v-6c73bfdf="" class="" onclick="location.href='/Home/User/xiazhu?t=1'"><img data-v-6c73bfdf="" src="/asimages/tzjv.png" alt="" /> <p data-v-6c73bfdf="">投注记录</p></li> 
      <li data-v-6c73bfdf="" class="" onclick="location.href='/Home/User/tkInfo2'"><img data-v-6c73bfdf="" src="/asimages/tkmm.png" alt="" /> <p data-v-6c73bfdf="">提款信息</p></li> 
      <li data-v-6c73bfdf="" class="" onclick="location.href='/Home/User/fenadd'"><img data-v-6c73bfdf="" src="/asimages/czjv.png" alt="" /> <p data-v-6c73bfdf="">充值记录</p></li> 
      <li data-v-6c73bfdf="" class="" onclick="location.href='/Home/User/fenxia'"><img data-v-6c73bfdf="" src="/asimages/txjv.png" alt="" /> <p data-v-6c73bfdf="">提现记录</p></li> 
      <li data-v-6c73bfdf="" class="" onclick="location.href='/Home/User/tkppwd'"><img data-v-6c73bfdf="" src="/asimages/tkmm.png" alt="" /> <p data-v-6c73bfdf="">提款密码</p></li> 
      <li data-v-6c73bfdf="" class="" onclick="location.href='/Home/User/kefu'"><img data-v-6c73bfdf="" src="/asimages/lxkf.png" alt="" /> <p data-v-6c73bfdf="">联系客服</p></li> 
	  <if condition="C('is_weixin') eq 1 && $is_weixin eq false">
      <li data-v-6c73bfdf="" class="" onclick="location.href='/Home/User/uppwd'"><img data-v-6c73bfdf="" src="/asimages/dlmm.png" alt="" /> <p data-v-6c73bfdf="">登录密码</p></li>
      </if>	  
     </ul>
    </div>
     <if condition="C('is_weixin') eq 1 && $is_weixin eq true">
	<else />	
    <div data-v-6c73bfdf="" class="c109">
	 <button data-v-6c73bfdf="" class="btton" onmousedown="logout()">退出登录 </button>
    </div> 
	<div style="margin-top:80px"><p style="font-size: 13px;color: #ababab;"></p><p style="font-size: 13px;color: #ababab;"<a style="font-size: 13px;color: #ababab;" href="#"></a></p></div>
	</if>
	<-->
<ul class="nav-bottom-box">
   <li><a href="/Home/Run/index">
     <div class="icon-home nav-bottom-icon"></div>
     <div class="nav-bottom-box-label" data-language="common_dtdt">
      大厅动态
     </div></a></li>
   <li><a href="/Home/User/zs">
     <div class="icon-lottery nav-bottom-icon"></div>
     <div class="nav-bottom-box-label" data-language="common_sczs">
      市场走势
     </div></a></li>
   <!--<li><a href="/home/User/yuebao">-->
   <!--  <div class="icon-news nav-bottom-icon"></div>-->
   <!--  <div class="nav-bottom-box-label" data-language="common_tzlc">-->
   <!--   投资理财-->
   <!--  </div></a></li>-->
   <li><a href="/home/Fen/index">
     <div class="icon-news nav-bottom-icon"></div>
     <div class="nav-bottom-box-label" data-language="common_cz">
      充值
     </div></a></li>
   <li><a href="/Home/User/kefu.html">
     <div class="icon-homeService nav-bottom-icon"></div>
     <div class="nav-bottom-box-label" data-language="common_kf">
      客服
     </div></a></li>
   <li class="mui-active"><a href="/Home/User/index">
     <div class="icon-contact nav-bottom-icon"></div>
     <div class="nav-bottom-box-label" data-language="common_wd">
      我的
     </div></a></li>
  </ul>

    <br data-v-6c73bfdf="" />
    <br data-v-6c73bfdf="" />
    <br data-v-6c73bfdf="" />
   </div>
  </div>
<script src="__PUBLIC__/Admin/js/jquery.min.js?v=2.1.4"></script>
<script src="/ascss/js/jquery.i18n.properties.js"></script>
<script src="/ascss/js/language.js?1717236621"></script>
<script src="__PUBLIC__/Admin/js/bootstrap.min.js?v=3.3.6"></script>

<script src="__PUBLIC__/Common/js/ajaxForm.js"></script>
<script src="__PUBLIC__/layer/layer.js"></script>
<script type="text/javascript">

	function logout(){
		$.ajax({
			url:"/Home/Index/logout",
			type: 'post',

			success: function (data) {

				setTimeout('myrefresh()',500); //指定1秒刷新一次
			}
		})
	}



	function handleFiles(obj,id){
		file = document.getElementById("icon");
		console.log(file);
		var files = obj.files;
		img = new Image();
		if(window.URL){
			//File API
			img.src = window.URL.createObjectURL(files[0]); //创建一个object URL，并不是你的本地路径
			img.onload = function(e) {
				console.log(e);
				window.URL.revokeObjectURL(this.src); //图片加载后，释放object URL
			}
		}
		file.src=img.src;
		var fd = new FormData();//实例化一个表单
		xhr = new XMLHttpRequest();
		fd.append('file', files[0]);//追加图片元素
		$.ajax({
			url: "{:u('Home/user/avatarUpload')}",
			type: 'post',
			cache: false,
			data: fd,
			processData: false,
			contentType: false,
			dataType:"json",
			accept: {
				title: 'Images',
				extensions: 'gif,jpg,jpeg,bmp,png',
				mimeTypes: 'image/*'
			},
			success : function(data) {
				if(data.status==1){
					layer.msg(data.info, {icon: 1,shade:0.8});
					setTimeout('myrefresh()',1000); //指定1秒刷新一次
				}else{
					layer.msg(data.info,{icon: 2,shade:0.8});
				}
			}
		});
	}



	$('#zhuanrang').on('click', function () {
		layer.open({
			type: 1,
			title: '转让元宝',

			area: ['100%', '300px'],
			shadeClose: false,
			btn:["确认"],
			content: '<div class="chongzhi-box">\n' +
					'<br>\n' +
					'<p style="padding: 5px 15px;"><span>转账用户ID:</span><input name="userid" id="userid" type="number" style="margin-left: 15px;"/></p>' +
					'<p style="padding: 5px 15px;"><span> &nbsp;&nbsp;&nbsp;转账数量:</span><input name="money" id="money" type="number" style="margin-left: 15px;"/></p>' +
					'<p style="padding: 5px 15px;"><span> &nbsp;&nbsp;&nbsp;提现密码:</span><input name="pass" id="pass" type="password" style="margin-left: 15px;"/></p>' +
					'</div>',
			yes: function(index, layero){
				var userid = document.getElementById("userid").value;
				var money = document.getElementById("money").value;
				var pass=document.getElementById("pass").value;

				var data=  {userid:userid,money:money,pass:pass};

				$.ajax({
					url:"{:U('Home/User/transferPost')}",
					type: 'post',
					data:data,
					success: function (data) {
						console.log(data);
						if(data.status==1){
							layer.msg(data.info, {icon: 1,shade:0.8},function(){
								location.reload();
							});
						}else{
							layer.msg(data.info,{icon: 2,shade:0.8});
						}

					}
				})
			}
		});
	})



	$(function(){
		$('#LoginForm').ajaxForm({
			beforeSubmit: checkForm,
			success: complete,
			dataType: 'json'
		});
		function checkForm(){

		}
		function complete(data){
			if(data.status==1){
				$('.btn').attr('disabled','disabled');
				layer.msg(data.info, function(index){
					layer.close(index);
					window.location.href=data.url;
				});
			}else{
				layer.msg(data.info);
				$('#password').val('').focus();
				return false;
			}
		}
	});

	function myrefresh()
	{
		window.location.reload();
	}


</script>

<script src="__PUBLIC__/Home/js/cls.js"></script>

 </body>
</html>